﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Dec_ReceiptsCollection : List<Dec_Receipts>
    {
        public int IndexOf(Dec_Receipts item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Dec_Receipts item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Dec_Receipts this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Dec_Receipts item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Dec_Receipts item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Dec_Receipts[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Dec_Receipts item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Dec_Receipts> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Dec_Receipts
    {
        private int _IdReceipts;

        public int IdReceipts
        {
            get { return _IdReceipts; }
            set { _IdReceipts = value; }
        }
        private int _IdBookRoom;

        public int IdBookRoom
        {
            get { return _IdBookRoom; }
            set { _IdBookRoom = value; }
        }
        private string _ReceiptsCode;

        public string ReceiptsCode
        {
            get { return _ReceiptsCode; }
            set { _ReceiptsCode = value; }
        }
        private DateTime _Date;

        public DateTime Date
        {
            get { return _Date; }
            set { _Date = value; }
        }
        private int _ReceiptsBy;

        public int ReceiptsBy
        {
            get { return _ReceiptsBy; }
            set { _ReceiptsBy = value; }
        }
        private string _Interpretation;

        public string Interpretation
        {
            get { return _Interpretation; }
            set { _Interpretation = value; }
        }
        private double _Total;

        public double Total
        {
            get { return _Total; }
            set { _Total = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        private int _IdBill;

        public int IdBill
        {
            get { return _IdBill; }
            set { _IdBill = value; }
        }
    }
}
